#include <stdio.h>

int main()
{
	int n = 0;
	int sum = 1;
	scanf("%d", &n);
	for ( int i = 0; i < n; i++ ) {
		sum *= 2;
	}
	printf("%d", sum);
}
